<?xml version="1.0" ?>
<lz:project xmlns:lz="http://schemas.icitadel.com/Lazarus/Source.xsd"
	name="ImportEntities" namespace="FAI.Reuse" owner="dbo" user="jmuharsky" namespaceprefix="fem" namespaceuri="http://schemas.faicorp.com/Reuse/ImportEntities.xsd" businessconcept="ImportEntities">
	<lz:description>Data Import business entity.</lz:description>
	<lz:datasource location="WARREN" schema="DMV2" user="gkirrel" password="hcccc.be1" />
	<lz:defaults>
		<lz:fields>
			<lz:field name="Id" alias="id" type="Identity" autogenerate="true" required="true">
				<lz:indexes>
					<lz:index type="Primary" />
				</lz:indexes>
			</lz:field>
		</lz:fields>
	</lz:defaults>
	<lz:datasource location="WARREN" schema="DataImport" user="sa" password="hcccc.be" />
	<lz:objects>
		<lz:object name="ImportEntityManager" alias="entity-manager">
			<lz:description>Contains a list of Import Entities, and their associated column metadata.</lz:description>
			<lz:collections>
				<lz:collection name="Entities" object="ImportEntity" />
			</lz:collections>
		</lz:object>
		<lz:object name="ImportEntity" alias="import-entity" title-field="Name">
			<lz:description>Defines an entity that can be imported via a DataAccess call.</lz:description>
			<lz:fields>
				<lz:field name="Name" type="Varchar" size="255" required="true">
					<lz:indexes>
						<lz:index type="Primary" />
					</lz:indexes>
				</lz:field>
				<lz:field name="ClassName" alias="class-name" type="Varchar" size="255" required="true" />
				<lz:field name="AssemblyName" alias="assembly-name" type="Varchar" size="255" required="true" />
			</lz:fields>
			<lz:collections>
				<lz:collection name="Parameters" alias="params" object="Parameter" />
			</lz:collections>
		</lz:object>
		<lz:object name="Parameter" alias="param" title-field="Name">
			<lz:description>Defines a Parameter used in creation of a row for the entity.</lz:description>
			<lz:fields>
				<lz:field name="Name" type="Varchar" size="255" required="true" />
				<lz:field name="FriendlyName" alias="friendly-name" type="Varchar" size="255" required="true" />
				<lz:field name="Type" type="Varchar" size="255" required="true" />
				<lz:field name="Size" type="Int" required="true" />
				<lz:field name="Scale" type="Int" />
				<lz:field name="Required" type="Bit" default="false" />
				<lz:field name="Global" type="Bit" default="false" />
				<lz:field name="Direction" type="Varchar" size="3" default="in" />
				<lz:field name="Lookup" type="Varchar" size="255" />
			</lz:fields>
		</lz:object>
	</lz:objects>
</lz:project>